About 360,000 individuals received wrong state pension forecasts from the government, the pensions minister has revealed.