Australia’s Prime Minister Malcolm Turnbull overhauled the code of conduct for government ministers and barred them from sexual relations with their staff, as he sought to contain a scandal engulfing his deputy Barnaby Joyce.