Troy Hausler was mentally impaired when he killed Toby Richter at a Pilbara mine site because he wrongly believed he was a paedophile, a judge finds.