Maitland Magpies win semi-final second leg but bow out