Magistrates ‘asked to stop jailing criminals’ for several weeks to ease pressure on prisons3 months ago