After decades of unsuccessful efforts to improve California prison conditions ruled unconstitutional and blamed for record-high suicides, advocates and a federal judge are betting that bonuses and better work accommodations will finally be enough to attract and keep the mental health providers needed to treat prisoners.