First person charged under 'one-punch' laws jailed for eight years