Bryan Miller was taken over by an “overwhelming and dominant” part of his consciousness before killing two women 30 years ago, an expert testified.