Melrose Primary School claims league tag state championship in thriller