A judge has tossed One Nation chief-of-staff James Ashby’s lawsuit alleging the federal government breached the Fair Work Act by refusing to foot the bill for nearly $4.5 million in legal costs stemming from a dropped sexual harassment case against former House speaker Peter Slipper.