For reference, the William MILLAR you have who is in 1871 Census - isn't he the one in Eastwood, Renfrewshire (not Glasgow) ? A Railway Porter, age 23, at 13 Shawhill St with Wife Agnes 24, children Robert 2 and Christina 6mths? All listed as born Kilbirnie?
So I wondered….

This topic is about a couple whose deaths are unknown and 2 children who died as children ….is the question about an indirect ancestor - or - is it about a direct ancestor, in which case there should be more children than the two who died?
And came across these topics from 2012 and 2011
http://www.rootschat.com/forum/index.php?topic=573269.0http://www.rootschat.com/forum/index.php?topic=570624.54
William Miller b 1848 Lochwinnoch Renfrewshire , d 1898
m2 1877, for the 2nd time in January 1877 in Glasgow, to Mary McKenzie
Family legend: 1st wife (name unknown) and children were all killed in a house fire.
A Chief Engineer
Last address 1898 (from Shipping agent), was Sunderland
Died in August 1898 Pensacola Harbour
Wife2 and 2 daughters, moved from Glasgow to Stranton, West Hartlepool after Sep 1886
Son James born Stranton, West Hartlepool Jan 1889
Wife and children moved back to Lochwinnoch after his death. They're found there in 1901
Rootschatter Diddy contributed to the 2012 topic, said: :
parents of yours (William, were) Robert & Mary Reid Cunningham (bap 27/2/1848). You corrected this by saying mother forname was Margaret, not Mary.
The 2011 Topic was about son William, born Feb 1878 in Glasgow.
A lot can happen in research between 2011/12 and 2016 - but can you clarify or correct: is the William who married in 1877, the man who died in 1898 and the man who married first in 1867 to Agnes Williamson?
I presume you have the 1867 and 1877 Marriage certificates with parents names on them etc, and state William to be a widower in 1877?
Cheers
AMBLY