Typhoon Melor carves through the central Philippines bringing heavy rain and strong winds that left millions without power and at least three people dead, officials say.