Loop-corrected compactifications of the heterotic string with line bundles