Appeals court orders review of Gulf spill settlement terms