Scheduling Straight-Line Code Using Reinforcement Learning and Rollouts