Judge who appeared determined to avoid mandatory sentence is removed from case