In a unanimous vote, the U.S. Supreme Court ruled in favor of two Arizona firefighters in a lawsuit