Revolt over plan for Dagenham 1,500-inmate jail