Finance chief George Osborne will commit the U.K. government to tough new public-finance rules that will require it to run an overall budget surplus when the economy is growing.