TOKYO - The Japanese government and ruling coalition have decided to scrap a controversial bill to extend the retirement age of high-ranking prosecutors after widespread criticism that it gives the Cabinet undue influence over the judiciary, administration sources said Wednesday.