Decision, announced on Twitter, sends Wall Street stocks plunging as US president vows to focus solely on appointing new Supreme Court justice