Motiva's Flint Hills purchase may be finalized by end of month