A Blackburn pupil referral unit that helps children “reconnect with education” has been praised by Ofsted.