US military appeals court upholds plea deals with 9/11 suspects