The Baltimore Ravens tightened their grip on the AFC North with a dogged 13-10 victory over the Pittsburgh Steelers.