Judge dismisses suit brought by former Greybull cop officer