Like the escapees of Pandora's Box, the activist judge with his/her own agenda cannot be done away with.  They serve for life.

The long-term solution is for more Gorsuch style Justices and Federal Judges who are less likely to Legislate from the Bench. 

The judiciary is a reflection of its society; the increasing growth of Red Flyover States will probably move the pendulum in that direction.  The current Congress will make many Federal Judge appointments.  That should result in more conservative--non Legislating Federal judges.