A federal judge threw out a key class-action lawsuit Wednesday against the U.S. Army Corps of Engineers over levee breaches after Hurricane Katrina , saying that the agency failed to protect the city but that his hands were tied by the law .