The prime minister’s volte-face may initially reassure markets but the credibility of British policymaking has been damaged