President Donald J. Trump has signed H.R. 227, the Clergy Act, into law, opening a two-year window for ministers, members of religious orders, and Christian Science practitioners to file applications with the Internal Revenue Service.