House lawmakers passed a bill Monday aimed at preventing future executive branch interference in some legislative branch agencies, a year after President Donald Trump fired the librarian of Congress.