Jan III., Brabant, Hertog