The biggest problem with broad judicial discretion is that you get wildly varying outcomes with identical facts depending on which judge you get and even what kind of mood he's in.
If anything the system still has too much discretion (in the hands of police and prosecutors) that lead predictably to discriminatory outcomes.