The Housing, Communities and Local Government Secretary has approved the building of a jail holding 1,700 lags near Chorley in Lancashire.