Britain borrowed more than forecast in February, showing the risks facing the public finances even before the war in Iran upended the economic outlook.