Earley wins unemployment compensation; borough loses appeal