Iran’s judiciary will categorise protesters in three groups and review cases individually, amid scepticism over Trump’s threats to intervene