How did Akbar strengthen his government and successfully extend Mughal rule?