Gov. Andrew M. Cuomo said he would sign the bill exempting tampons, sanitary napkins, panty liners and other items from state sales tax and local taxes.