The House has approved legislation that could permit termination of the Marine Corps' multibillion-dollar amphibious Expeditionary Fighting Vehicle, giving Defense Secretary Robert M. Gates a victory in his attempt to reduce Pentagon spending on costly or unneeded programs.