Mid Penn Bancorp expands stock buyback by $50 million