Passage came one day after President Trump issued an executive action prohibiting the use of taxpayer funds for nongovernmental organizations that provide abortion services or support abortion rights.