Armidale defeat Manly to finish third