US military to stay in Syria ‘as long as we need to’: Pentagon