Chief Justice Hassan decides to resign