After his general election triumph a year ago, Boris Johnson must have expected his premiership to be defined by Brexit.