Gov. Kay Ivey later signed the bill into law. It would define genders based on human reproductive system function.