Amy Coney Barrett casts deciding vote on religious gathering