The Senate Thursday voted to advance a resolution aimed at preventing President Trump from taking more military action.