Trump committed to providing nuclear submarines to Australia, ending speculation that the deal would be dropped.