A judge dismissed three lawsuits against Kim Davis, the county clerk who refused to grant marriage licences to same-sex couples.