Minnesota reverend loses church over support of same-sex marriage