The serving inmates at a young offenders' institute at HMP Parc began assaulting each other and prison officers