Square is buying Afterpay in the largest public M&A deal in Australia’s history.