Director of Puerto Rico power company resigns amid scrutiny