O'Mara legislation to reduce costs for local boards of elections becomes law