The US president said the operation was "brilliant tactically" in a speech to Republican lawmakers.