Snap election called by PM Johnson aims to end months of political deadlock over UK's bid to exit EU.